<div id="page-wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header"><?php echo __('Config search') ?></h1>
        </div>
        <h4 style='color: #3991D6;position: relative'>
            <?php echo __('search home page')?>
            <a href='<?php echo $this->Html->url('/Setting/add/home') ?>' class='btn btn-success' style='position: absolute;right: 0px;bottom: -5px;'><?php echo __('Add')?></a>
        </h4>
        <table class='table'>
            <tr>
                <th><?php echo __('type')?></th>
                <th><?php echo __('value From')?></th>
                <th><?php echo __('value to')?></th>
                <th><?php echo __('label From')?></th>
                <th><?php echo __('label to')?></th>
                <th><?php echo __('edit')?></th>
                <th><?php echo __('delete')?></th>
            </tr>
            <?php foreach($home['price'] as $key => $item):?>
            <tr>
                <td><?php echo __('Price')?></td>
                <td><?php echo $item['ConfigSearch']['from']?></td>
                <td><?php echo $item['ConfigSearch']['to']?></td>
                <td><?php echo $item['ConfigSearch']['label_from']?></td>
                <td><?php echo $item['ConfigSearch']['label_to']?></td>
                <td><a href='<?php echo $this->Html->url('/Setting/update/'.$item['ConfigSearch']['id']) ?>'><?php echo __('edit')?></a></td>
                <td><a href='<?php echo $this->Html->url('/Setting/delete/'.$item['ConfigSearch']['id']) ?>'><?php echo __('delete')?></a></td>
                
            </tr>
            <?php endforeach;?>
            <?php foreach($home['bed'] as $key => $item):?>
            <tr>
                <td><?php echo __('Bed')?></td>
                <td><?php echo $item['ConfigSearch']['from']?></td>
                <td><?php echo $item['ConfigSearch']['to']?></td>
                <td><?php echo $item['ConfigSearch']['label_from']?></td>
                <td><?php echo $item['ConfigSearch']['label_to']?></td>
                <td><a href='<?php echo $this->Html->url('/Setting/update/'.$item['ConfigSearch']['id']) ?>'><?php echo __('edit')?></a></td>
                <td><a href='<?php echo $this->Html->url('/Setting/delete/'.$item['ConfigSearch']['id']) ?>'><?php echo __('delete')?></a></td>
                
            </tr>
            <?php endforeach;?>
            
        </table>
        
        
        <h4 style='color: #3991D6;position: relative'>
            <?php echo __('search Office page')?>
            <a href='<?php echo $this->Html->url('/Setting/add/office') ?>' class='btn btn-success' style='position: absolute;right: 0px;bottom: -5px;'><?php echo __('Add')?></a>
        </h4>
        <table class='table'>
            <tr>
                <th><?php echo __('type')?></th>
                <th><?php echo __('value From')?></th>
                <th><?php echo __('value to')?></th>
                <th><?php echo __('label From')?></th>
                <th><?php echo __('label to')?></th>
                <th><?php echo __('edit')?></th>
                <th><?php echo __('delete')?></th>
            </tr>
            <?php foreach($office['price'] as $key => $item):?>
            <tr>
                <td><?php echo __('Price')?></td>
                <td><?php echo $item['ConfigSearch']['from']?></td>
                <td><?php echo $item['ConfigSearch']['to']?></td>
                <td><?php echo $item['ConfigSearch']['label_from']?></td>
                <td><?php echo $item['ConfigSearch']['label_to']?></td>
                <td><a href='<?php echo $this->Html->url('/Setting/update/'.$item['ConfigSearch']['id']) ?>'><?php echo __('edit')?></a></td>
                <td><a href='<?php echo $this->Html->url('/Setting/delete/'.$item['ConfigSearch']['id']) ?>'><?php echo __('delete')?></a></td>
                
            </tr>
            <?php endforeach;?>
            <?php foreach($office['size'] as $key => $item):?>
            <tr>
                <td><?php echo __('size')?></td>
                <td><?php echo $item['ConfigSearch']['from']?></td>
                <td><?php echo $item['ConfigSearch']['to']?></td>
                <td><?php echo $item['ConfigSearch']['label_from']?></td>
                <td><?php echo $item['ConfigSearch']['label_to']?></td>
                <td><a href='<?php echo $this->Html->url('/Setting/update/'.$item['ConfigSearch']['id']) ?>'><?php echo __('edit')?></a></td>
                <td><a href='<?php echo $this->Html->url('/Setting/delete/'.$item['ConfigSearch']['id']) ?>'><?php echo __('delete')?></a></td>
                
            </tr>
            <?php endforeach;?>
            
        </table>
        
        <h4 style='color: #3991D6;position: relative'>
            <?php echo __('search Shop page')?>
            <a href='<?php echo $this->Html->url('/Setting/add/shop') ?>' class='btn btn-success' style='position: absolute;right: 0px;bottom: -5px;'><?php echo __('Add')?></a>
        </h4>
        <table class='table'>
            <tr>
                <th><?php echo __('type')?></th>
                <th><?php echo __('value From')?></th>
                <th><?php echo __('value to')?></th>
                <th><?php echo __('label From')?></th>
                <th><?php echo __('label to')?></th>
                <th><?php echo __('edit')?></th>
                <th><?php echo __('delete')?></th>
            </tr>
            <?php foreach($shop['price'] as $key => $item):?>
            <tr>
                <td><?php echo __('Price')?></td>
                <td><?php echo $item['ConfigSearch']['from']?></td>
                <td><?php echo $item['ConfigSearch']['to']?></td>
                <td><?php echo $item['ConfigSearch']['label_from']?></td>
                <td><?php echo $item['ConfigSearch']['label_to']?></td>
                <td><a href='<?php echo $this->Html->url('/Setting/update/'.$item['ConfigSearch']['id']) ?>'><?php echo __('edit')?></a></td>
                <td><a href='<?php echo $this->Html->url('/Setting/delete/'.$item['ConfigSearch']['id']) ?>'><?php echo __('delete')?></a></td>
                
            </tr>
            <?php endforeach;?>
            <?php foreach($shop['size'] as $key => $item):?>
            <tr>
                <td><?php echo __('size')?></td>
                <td><?php echo $item['ConfigSearch']['from']?></td>
                <td><?php echo $item['ConfigSearch']['to']?></td>
                <td><?php echo $item['ConfigSearch']['label_from']?></td>
                <td><?php echo $item['ConfigSearch']['label_to']?></td>
                <td><a href='<?php echo $this->Html->url('/Setting/update/'.$item['ConfigSearch']['id']) ?>'><?php echo __('edit')?></a></td>
                <td><a href='<?php echo $this->Html->url('/Setting/delete/'.$item['ConfigSearch']['id']) ?>'><?php echo __('delete')?></a></td>
                
            </tr>
            <?php endforeach;?>
            
        </table>
        
        
        
        <h4 style='color: #3991D6;position: relative'>
            <?php echo __('search houser/villa page')?>
            <a href='<?php echo $this->Html->url('/Setting/add/villa') ?>' class='btn btn-success' style='position: absolute;right: 0px;bottom: -5px;'><?php echo __('Add')?></a>
        </h4>
        <table class='table'>
            <tr>
                <th><?php echo __('type')?></th>
                <th><?php echo __('value From')?></th>
                <th><?php echo __('value to')?></th>
                <th><?php echo __('label From')?></th>
                <th><?php echo __('label to')?></th>
                <th><?php echo __('edit')?></th>
                <th><?php echo __('delete')?></th>
            </tr>
            <?php foreach($villa['price'] as $key => $item):?>
            <tr>
                <td><?php echo __('Price')?></td>
                <td><?php echo $item['ConfigSearch']['from']?></td>
                <td><?php echo $item['ConfigSearch']['to']?></td>
                <td><?php echo $item['ConfigSearch']['label_from']?></td>
                <td><?php echo $item['ConfigSearch']['label_to']?></td>
                <td><a href='<?php echo $this->Html->url('/Setting/update/'.$item['ConfigSearch']['id']) ?>'><?php echo __('edit')?></a></td>
                <td><a href='<?php echo $this->Html->url('/Setting/delete/'.$item['ConfigSearch']['id']) ?>'><?php echo __('delete')?></a></td>
                
            </tr>
            <?php endforeach;?>
            <?php foreach($villa['bed'] as $key => $item):?>
            <tr>
                <td><?php echo __('Bed')?></td>
                <td><?php echo $item['ConfigSearch']['from']?></td>
                <td><?php echo $item['ConfigSearch']['to']?></td>
                <td><?php echo $item['ConfigSearch']['label_from']?></td>
                <td><?php echo $item['ConfigSearch']['label_to']?></td>
                <td><a href='<?php echo $this->Html->url('/Setting/update/'.$item['ConfigSearch']['id']) ?>'><?php echo __('edit')?></a></td>
                <td><a href='<?php echo $this->Html->url('/Setting/delete/'.$item['ConfigSearch']['id']) ?>'><?php echo __('delete')?></a></td>
                
            </tr>
            <?php endforeach;?>
            
        </table>
    </div>
</div>
<!-- /#page-wrapper -->
